<?php
namespace app\services\models;

use think\Model;

class Cards extends Model{

    // 设置当前模型对应的完整数据表名称
    protected $name = 'cards';
    
    const status_default   = 1;//初始状态
    const status_unconfirm = 2;//已发送验证码
    const status_success   = 3;//确认绑卡成功
    const status_delete    = 4;//已解绑
    
    const status_text = [
        self::status_default   => '未执行',
        self::status_unconfirm => '等待验证',
        self::status_success   => '绑定成功',
        self::status_delete    => '已解绑'
    ];
}
